import Top from "./Top";
function Bottom() {
  return (
    <Top.Context.Consumer>
      {/* 以函数的方式使用context */}
      {(context) => <div className="content">{context.content}</div>}
    </Top.Context.Consumer>
  );
}
export default Bottom;
